package com.xuecheng.content.service;

import com.xuecheng.content.model.dto.CourseTeacherDto;
import com.xuecheng.content.model.po.CourseTeacher;
import com.xuecheng.content.model.po.Work;

import java.util.List;

public interface CourseTeacherService {
    /**
     * 根据课程id查询教师列表
     * @param courseId
     * @return
     */
    public List<CourseTeacher> findCourseTeacherList(Long courseId);

    /**
     * 保存或者修改教师信息
     * @param courseTeacherDto
     * @return
     */
    public CourseTeacher saveorEdit(Long companyId, CourseTeacherDto courseTeacherDto);

    /**
     * 删除教师信息
     * @param courseId
     * @param id
     */
    public void deleteTeacher( Long companyId,Long courseId, Long id);

    /**
     * 根据课程id查询教师信息
     * @param courseId
     * @return
     */
    CourseTeacher selectBycourseId(Long courseId);

    /**
     * 根据课程id查询作业信息
     * @param courseId
     * @return
     */
    List<Work> findWorkByCourseId(Long courseId);
}
